package edu.sctu.practice.class01.zcy.month10.test02;

/**
 * Created by zcy on 2015/10/8.
 */
public class ProgramEntry {

    public static void printCircle(Circle c){

        System.out.println("圆的半径："+c.getRadius());
        System.out.println("圆的面积："+c.getRadius());
        System.out.println("实例化圆的个数："+c.numOfObjects);
    }

    public static void main(String[] args) {

        Circle circle = new Circle(4.0f);
        Circle circle1 = new Circle(5.0f);

        printCircle(circle);
        printCircle(circle1);
    }
}
